package com.hb.trade.client.project;

import com.hb.core.pojo.project.push.entity.PushDockingLog;
import org.fzzn.core.model.msg.Message;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * describe:
 * 推送相关的
 * @author zhongdl
 * @date 2022/02/22
 */
@FeignClient("hb-project")
public interface PushClient {

    /**
     *
     * @Description: 保存推送的记录
     * @Author: zhongdl
     * @Date:2022/2/22 16:41
     * @param pushDockingLog:
     * @return: {@link Message< Boolean> }
     **/
    @PostMapping("/tradePushDockingLog/save")
    Message<Boolean> save(@RequestBody PushDockingLog pushDockingLog);
}
